//
//  DictionaryExtension.swift
//  RNAsmanMaster
//
//  Created by 李旭峰 on 7/19/19.
//  Copyright © 2019 Facebook. All rights reserved.
//

import Foundation
/**
 An extension that add the elements of one dictionary to another
 */
extension Dictionary {
  
  /**
   An extension that add the elements of one dictionary to another
   */
  public mutating func add(_ dictionary: [Key : Value]) {
    for (key, value) in dictionary {
      self[key] = value
    }
  }
}
